#!/bin/bash

# 设置 COLMAP 可执行文件的路径
COLMAP_EXECUTABLE="/shared_folder/code_ws/opensource/colmap-pcd/colmap-pcd/build/src/exe/colmap"

# 设置数据库路径和图像路径
DATABASE_PATH="/shared_folder/data/colmap-pcd/backpack/2024-07-09_14-23-22/database.db"
IMAGE_PATH="/shared_folder/data/colmap-pcd/backpack/2024-07-09_14-23-22/camera/"

# 运行 COLMAP 的 feature_extractor 命令
$COLMAP_EXECUTABLE feature_extractor \
    --database_path $DATABASE_PATH \
    --image_path $IMAGE_PATH